using UnityEngine;
// [Assembly-CSharp.dll].FreezeMoving
public class FreezeMoving : MonoBehaviour
{
    // Fields
    private UnityEngine.Rigidbody2D rigiThis;
    private UnityEngine.GameObject drawingManager;
    public static bool freeze;
    
    // Methods
    private void Start()
    {
        if(mem[536887009] != 0)
        {
                mem[536887009].SetActive(value:  false);
            mem2[0] = 0;
        }
        
        this.rigiThis = this.GetComponent<System.Object>();
        this.drawingManager = UnityEngine.GameObject.Find(name:  -1610608093);
        throw new NullReferenceException();
    }
    private void Update()
    {
        UnityEngine.RigidbodyType2D val_3;
        if(this.drawingManager == 0)
        {
                return;
        }
        
        Unknown val_2 = this.drawingManager.GetComponent<System.Object>();
        if((val_2 + 356) == 0)
        {
                return;
        }
        
        if(mem[536886587] != 0)
        {
                val_3 = 2;
        }
        else
        {
                val_3 = 0;
        }
        
        this.rigiThis.bodyType = val_3;
    }
    public FreezeMoving()
    {
    
    }

}
